PGetPageNumber

Gets the page number of the currently displayed page or, if a master page is displayed, gets the name of the master page.


Query results

short nCurrentPage;
Page number (between 0 and 1000) of currently displayed page (or odd page number of pair of facing pages)
-3 if left page of master page is currently displayed
-4 if right page of master page is currently dis played
const char * sMasterName;
"" if a standard page is displayed
Name of currently displayed master page
Do not confuse this query with PGetPageNumbers, which has a very similar name.

Facing pages. In double-sided, facing-pages mode, PageMaker returns the odd page number of any facing-page pair.


See also

The PGetMasterPage, PGetPages, and PGetPageNumbers queries


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support